<template>
  <div id="app">
    <el-container>
      <el-header>
        <PageHeader></PageHeader>
      </el-header>
      <el-main>
        <router-view></router-view>
      </el-main>
      <el-footer>
        <PageFooter></PageFooter>
      </el-footer>
    </el-container>
    
  </div>
</template>

<script>
import PageHeader from "./components/pageHeader.vue";
import PageFooter from "./components/pageFooter.vue";

export default {
  name: 'App',
  components: {
    PageHeader,
    PageFooter
}
}
</script>

<style>
* {margin: 0;padding: 0;}
img{max-width: 100%;}
.el-header,.el-footer{background: #333;color:#fff}
.el-main{ min-height: calc(100vh - 120px);}
</style>
